﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Auditors_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    
    <script src="../Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script>
        function GoTotxtDate() {
            var oEvent = window.event;
            if (oEvent.keyCode == 13 && !oEvent.ctrlKey) {


                $("#<%=txtDate.ClientID %>").focus();

            }
        }
        function GoTotxtAmount() {
            var oEvent = window.event;
            if (oEvent.keyCode == 13 && !oEvent.ctrlKey) {


                $("#<%=txtAmount.ClientID %>").focus();

            }
        }
        function GoTodropCurrency() {
            var oEvent = window.event;
            if (oEvent.keyCode == 13 && !oEvent.ctrlKey) {


                $("#<%=dropCurrency.ClientID %>").focus();

            }
        }

        function GoTodropExplain() {
            var oEvent = window.event;
            if (oEvent.keyCode == 13 && !oEvent.ctrlKey) {


                $("#<%=dropExplain.ClientID %>").focus();

            }
        }

        function ButtonPostBack() {
            var oEvent = window.event;
            if (oEvent.keyCode == 13 && !oEvent.ctrlKey) {
                __doPostBack($("#<%=Button1.ClientID %>").attr("name"), '');
            }
        }
       </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <li>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>
        <ul>ddd</ul>

    </li>
    <asp:TextBox ID="txtVoucherNo" runat="server" onkeydown="GoTotxtDate();"></asp:TextBox>
    <asp:TextBox ID="txtDate" runat="server" onkeydown="GoTotxtAmount();"></asp:TextBox>
    <asp:TextBox ID="txtAmount" runat="server" onkeydown="GoTodropCurrency();"></asp:TextBox>
    <asp:DropDownList ID="dropCurrency" runat="server"  onkeydown="GoTodropExplain();">
    </asp:DropDownList>
    <asp:DropDownList ID="dropExplain" runat="server" onkeydown="ButtonPostBack();">
    </asp:DropDownList>

    <asp:Button ID="Button1" runat="server" Text="添加"  
        UseSubmitBehavior="false" onclick="Button1_Click"  />
</asp:Content>

